//
//  DownLoadData.h
//  007AFN的使用
//
//  Created by 黎跃春 on 15/5/18.
//  Copyright (c) 2015年 黎跃春. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DownLoadData : NSObject

//发送微博不带图片
//https://api.weibo.com/2/statuses/update.json
+ (NSURLSessionDataTask *)sendWeiboWithBlock:(void (^)(id obj, NSError *error))block andContent:(NSString*)content;


//发送微博带图片
//https://api.weibo.com/2/statuses/upload.json
+ (NSURLSessionDataTask *)sendWeiboWithBlock:(void (^)(id obj, NSError *error))block andContent:(NSString*)content andImage:(UIImage*)image;





//获取登录用户的粉丝列表
+ (NSURLSessionDataTask *)getFansLists:(void (^)(id obj, NSError *error))block;


@end















